home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 41 / CD Expert nº 41.iso / DReign2 / DR2Demo.exe / data1.cab / Files / missions / demo / Demo Mission 2.zwp / objective_startjda.cfg < prev    next >
Encoding:
Text File  |  2000-09-01  |  1.4 KB  |  67 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 1997-99 Pandemic Studios
  4. //
  5. // Dark Reign II
  6. //
  7.  
  8. CreateObjectType("objective_startjda", "Objective")
  9. {
  10.   GameObj();
  11.   ObjectiveObj()
  12.   {
  13.    Condition("TRUE")
  14.    {
  15.    }
  16.  
  17.     Action()
  18.     {
  19.       CreateVarInteger("@.shuttleleaving", 0);
  20.       CreateVarInteger("@.shuttledestroyed", 0);
  21.       CreateVarInteger("@.basegone", 0);
  22.       NewObjective("objective_destroy_shuttle");
  23.       NewObjective("objective_traitors_reached_shuttle");
  24.       NewObjective("objective_warden");
  25.       NewObjective("objective_blinking1");
  26.       NewObjective("objective_stop_ravine");
  27.       NewObjective("objective_stop_blinking1");
  28.       NewObjective("objective_you_lost");
  29.       Cmd("rain.type rain_light");
  30.       Cmd("rain.active 1");
  31.       DisplayObjective("Add", "Objective_destroy_shuttle")
  32.       {
  33.         Text("#missions.jda.j03.obj_destroy_shuttle");
  34.       }
  35.       RegionMessage()
  36.       {
  37.         Region("Traitors");
  38.         Message("msg_new_rigs");
  39.       }
  40.     }
  41.   }
  42. }
  43.  
  44. CreateObjectType("objective_blinking1", "Objective")
  45. {
  46.   GameObj();
  47.   ObjectiveObj()
  48.   {
  49.       Condition("Timer")
  50.       {
  51.         Time(10);
  52.       }
  53.  
  54.   Action()
  55.     {
  56.       RegionMessage()
  57.       {
  58.         Region("Traitors");
  59.         Message("msg_new_rigs");
  60.       }
  61.       NewObjective("objective_blinking1");
  62.     }
  63.   }
  64. }
  65.  
  66.  
  67.